package org.hxyjs.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.hxyjs.entity.ChatAdmin;
import org.hxyjs.entity.ChatAdminExample;
import org.springframework.stereotype.Component;

@Mapper
@Component
public interface ChatAdminMapper {
    long countByExample(ChatAdminExample example);

    int deleteByExample(ChatAdminExample example);

    int deleteByPrimaryKey(String cano);

    int insert(ChatAdmin record);

    String getMaxCano();

    int insertSelective(ChatAdmin record);

    List<ChatAdmin> selectByExample(ChatAdminExample example);

    List<ChatAdmin> getChatAdminsByPage(Map<String, Object> map);

    ChatAdmin selectByPrimaryKey(String cano);

    int updateByExampleSelective(@Param("record") ChatAdmin record, @Param("example") ChatAdminExample example);

    int updateByExample(@Param("record") ChatAdmin record, @Param("example") ChatAdminExample example);

    int updateByPrimaryKeySelective(ChatAdmin record);

    int updateByPrimaryKey(ChatAdmin record);

}